﻿#light

namespace Twitter.Model

/// basic user information record
type public User = 
    { 
        Id : int64;
        Name : string; 
        ScreenName : string; 
        Location : string;
        Description : string; 
        ProfileImageURL : string;
        URL : string;
        ProtectedProfile : bool;
        FollowersCount : int64;
        FriendsCount : int64
    }

/// status information record
type Status =
    {
        CreatedAt : System.DateTime;
        Id : int64;
        Text : string;
        Source : string;
        Truncated : bool;
        InReplyToStatus : int64;
        InReplyToUser : string;
        Favorited : bool
        Owner : User
    }

/// direct message record
type DirectMessage =
    {
        Id : int64;
        SenderId : int64;
        RecipientId : int64;
        Text : string;
        CreatedAt : System.DateTime;
        SenderScreenName : string;
        RecipientScreenName : string;
    }